<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title><?php echo $this->lang->line('zipcode:homepage_title')?></title>
		<link rel="shortcut icon" href="<?php echo base_url()?>media/images/favicon.ico" />
		<meta name="description" content="<?php echo $this->lang->line('zipcode:homepage_meta_description_text')?>" />
		<script src="<?php echo base_url()?>js/jquery-1.8.2.min.js"></script>
		<script src="<?php echo base_url()?>js/jquery.cycle.all.js"></script>
		<script src="<?php echo base_url()?>js/jquery.easing.1.3.js"></script>
		<script src="<?php echo base_url()?>js/zipcode_index.js"></script>
		<link rel="stylesheet" href="<?php echo base_url()?>css/index_style.css" type="text/css" media="all"/>
		<script type="text/javascript">
			var BASE_URL = '<?php echo base_url()?>';
		</script>
		<script type="text/javascript">
		  var _gaq = _gaq || [];
		  _gaq.push(['_setAccount', 'UA-35002488-1']);
		  _gaq.push(['_setDomainName', 'zipcode.us']);
		  _gaq.push(['_trackPageview']);
		  (function() {
		    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		  })();
		</script>
	</head>
	<body>
		<div id="center-content">
			<div id="slideshow">
			<?php
			if($bgImages){
				for($i = 2; $i < count($bgImages) ; $i++){
			?>
				<img src="<?php echo base_url()?><?php echo $bgImagesPath?><?php echo $bgImages[$i]?>" />
			<?php
				}
			} 
			?>
			</div>
			<div id="wrapper">
				<div id="content-wrapper">
					<div id="content">
						<div id="content-top">
							<div id="content-top-left">
								<a href="http://goo.gl/xlX3a"><img src="<?php echo base_url()?>media/images/start-with-us.png" /></a>
							</div>
							<div id="content-top-right">
								<a href="#"><span><?php echo $this->lang->line('zipcode:domain_text')?></span></a>
							</div>
							<div class="clear"></div>
						</div>
						<div id="search-box">
							<form action="" method="post">
								<input id="zipcode" name="zipcode" value="<?php echo $this->lang->line('zipcode:search_text')?>" onfocus="onfocusText('<?php echo $this->lang->line('zipcode:search_text')?>', this)" onblur="onblurText('<?php echo $this->lang->line('zipcode:search_text')?>', this)" maxlength="5"/>
								<input id="search-button" name="search-button" type="submit" value="" />
							</form>
						</div>
						<div id="texbox-content">
						<?php echo $this->lang->line('zipcode:box_text')?>
						</div>
					</div>
				</div>
				<div id="footer">
					<div id="footer-wrapper">
						<div id="footer-left">
						<?php echo $this->lang->line('zipcode:footer_left_text')?>
						<a href="http://goo.gl/xlX3a"><span><?php echo $this->lang->line('zipcode:footer_left1_text')?></span></a> | 
							<a href="http://www.about.us"><span><?php echo $this->lang->line('zipcode:footer_left2_text')?></span></a>
						</div>
						<div id="footer-right">
							<a href="http://goo.gl/xlX3a"><img src="<?php echo base_url()?>media/images/start-with-us-small.png" /></a>
						</div>
						<div class="clear"></div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>